from accounts.admin.views import AmdminListView, AgentInstitutionCreate, AgentInstitutionUpdate, AgentInstitutionDetail, \
    AgentInstitutionDelete


__author__ = '侯志文'
from django.conf.urls import patterns, url

urlpatterns = patterns('',
                       url(r'^$', AmdminListView.as_view(),name='admin_list'),
                       url(r'^create/$', AgentInstitutionCreate.as_view(),name='admin_create'),
                       url(r'^update/(?P<pk>\d+)/$', AgentInstitutionUpdate.as_view(),name='admin_update'),
                       url(r'^detail/(?P<pk>\d+)/$', AgentInstitutionDetail.as_view(),name='admin_detail'),
                       url(r'^delete/(?P<pk>\d+)/$', AgentInstitutionDelete.as_view(),name='admin_delete'),
                       )